import React, { Component } from 'react'

export default class Son extends Component {
    render() {
        console.log(this.props)
        return (
            <div>
                {/* <p>{this.props.children}</p> */}
                {/* <ul>
                    {
                        this.props.children.map((item, index) => <li key={index}>{item}</li>)
                    }
                </ul> */}
                <div>{this.props.children}</div>
            </div>
        )
    }
}
